package com.ae.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ae.common.annotation.Excel;
import com.ae.common.core.domain.BaseEntity;

/**
 * 课程管理对象 ai_course
 * 
 * @author ruoyi
 * @date 2024-04-26
 */
public class AiCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String name;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createrId;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uptTime;

    /** 创建者昵称 */
    @Excel(name = "创建者昵称")
    private String createrName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCreaterId(Long createrId) 
    {
        this.createrId = createrId;
    }

    public Long getCreaterId() 
    {
        return createrId;
    }
    public void setUptTime(Date uptTime) 
    {
        this.uptTime = uptTime;
    }

    public Date getUptTime() 
    {
        return uptTime;
    }
    public void setCreaterName(String createrName) 
    {
        this.createrName = createrName;
    }

    public String getCreaterName() 
    {
        return createrName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("createrId", getCreaterId())
            .append("createTime", getCreateTime())
            .append("uptTime", getUptTime())
            .append("createrName", getCreaterName())
            .toString();
    }
}
